project(CONTROL_LOOP)
cmake_minimum_required (VERSION 2.8) 

set (Boost_USE_STATIC_LIBS ON)
set (Boost_USE_MULTITHREADED ON)

find_package(Boost 1.51 REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})

file(GLOB_RECURSE Core_Sources ${CONTROL_LOOP_SOURCE_DIR}/Core/*.cpp)
file(GLOB_RECURSE Core_Headers ${CONTROL_LOOP_SOURCE_DIR}/Core/*.h)

file(GLOB_RECURSE Io_Sources ${CONTROL_LOOP_SOURCE_DIR}/IO/*.cpp)
file(GLOB_RECURSE Io_Headers ${CONTROL_LOOP_SOURCE_DIR}/IO/*.h)

file(GLOB_RECURSE EntryPoint_Sources ${CONTROL_LOOP_SOURCE_DIR}/EntryPoint/*.cpp)
file(GLOB_RECURSE EntryPoint_Headers ${CONTROL_LOOP_SOURCE_DIR}/EntryPoint/*.h)


add_subdirectory (Tests)
add_subdirectory (Demo)
